<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>交运列表</title>
<body class="withvernav">
<style type="text/css">
	thead tr th{
		vertical-align: middle;background-color: #CCCCCC; border: 1px solid #000000 !important ; text-align: center;
	}
</style>
<div class="bodywrapper"> {{include file='/public/leftmenu.tpl'}}
  <div class="centercontent">
    <div class="pageheader notab">
      <h1 class="pagetitle">日物流报表</h1>
     
    </div>
    <!--pageheader-->
    
    <div id="contentwrapper" class="contentwrapper">
      <div id="basicform" class="subcontent">
          <!--搜索栏-->
           
    <form class="stdform stdform2" method="get" action="?">
      <div class="tableoptions">
      <input type="hidden" name="op" value="salesByArea">
      开始时间：
       <input type="text"  name="starttime" value="{{$starttime}}" onClick="WdatePicker({dateFmt:'yyyy-MM-dd '})" class="width100 hasDatepicker" /> - <input type="text"  name="endtime" value="{{$endtime}}" onClick="WdatePicker({dateFmt:'yyyy-MM-dd '})" class="width100 hasDatepicker" />
       <span style="display:none">所属平台: 
       <select id="platform" name="platform">
            <option value="">-请选择-</option>
            <option value="ebay">ebay</option>
            <option value="Amazon">Amazon</option>
            <option value="1号店">1号店</option>
            <option value="淘宝">淘宝</option>
            <option value="Tmall">Tmall</option>
            <option value="ioffer">ioffer</option>
        </select>
       &nbsp;&nbsp;</span>
        <button class="btn btn_orange btn_search radius50">Search</button>
         &nbsp;  &nbsp;</div>
    </form>
    <!--搜索栏结束-->

             <table cellpadding="0" cellspacing="0" border="0" class="stdtable">
          
            <thead>
              <tr align="center">
                <th>时间</th>
                <th>总重量(克)</th>
                <th>总订单数(个)</th>
                <th>总运费(元)</th>
              </tr>
            </thead>
          
             {{foreach from=$list item=res key=key}}
            <tr>
              <td class="head0" align="center">{{$key+1}}</td>
               <td class="head1" align="center">{{$res.country_cn}}</td>
                <td class="head0" align="center">{{$res.amount_total}}</td>
                <td class="head1" align="center">{{$starttime}} - {{$endtime}}</td>
               </tr>
            {{/foreach}}
            <tr>
            {{if $searchdata neq 'nosearch'}}
            <td class="head0" align="center"><B>合计：</B></td>
            <td class="head1" align="center"><font color="#FF0000"></font></td>
            <td class="head1" align="center"><font color="#FF0000"><B>{{$allmaolv}}</B></font></td>
            <td class="head1" align="center">&nbsp;</td>
            </tr>
            {{/if}}
          </table>
      </div></div>

</body>
</html>